<!DOCTYPE html>
<html style="font-size: 50px;">
<head>
    <meta charset="UTF-8">
    <meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport">
    <meta id="LOCATION" name="location" content="province=;city=;coord=,">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="Cache-Control" content="no-transform"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="applicable-device" content="mobile">
    <meta name="fragment" content="!"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="applicable-device" content="mobile">
    <title id="_title">景点门票_景区门票预订_团购-骡窝窝手机预订</title>
    <meta id="_keywords" name="Keywords" content="景点门票,景区门票预订,门票团购,骡窝窝门票预订">
    <meta id="_description" name="Description" content="骡窝窝无线官网:提供全国旅游景点门票手机预订,打折门票团购服务,更有点评赢取积分，现金返现等各种优惠!">
    <!--请求id-->
    <meta name="_reqId" content="5b1d4c10-ffaa-11e8-8979-2dfbe799c947">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">

    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">

    <!-- UC应用模式 -->
    <meta name="browsermode" content="application">

    <!-- QQ应用模式 -->
    <meta name="x5-page-mode" content="app">
    <link rel="shortcut" href="#" type="image/x-icon">

    <link rel="stylesheet" href="css/common-3.1.css">
    <link rel="stylesheet" href="css/tickethome.css">

    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/plugins/jrender/jrender.min.js"></script>

    <link rel="stylesheet" href="/js/plugins/dialog2/dialog.css">
    <!--引入消息提示插件-->
    <script src="/js/plugins/dialog2/dialog.min.js"></script>

    <script>
        $(function () {
            //回到主页面
            $(".lvHeader-back").click(function () {
                window.location.href = "/index.html"
            });

            /* // 当前页变量  / 手机是滑动查询下一页的
             var currentPage = 1;
             // 总页数
             var pages;
             //存储景点的数组
             var travelArr = []; // js中数组是变长的,很方便做数组拼接*/
            /*function query() {
                // 获取所有的景点*/
            $.get("/scenics", function (data) {
                var i = 0;

                /*// 把第二个数组合并带第一个数组中
                $.merge(travelArr, data.list);
                /!*先将数组封装成一个json字符串 ,
                给他一个list属性名,在渲染数据的时候给list拿去循环渲染*!/*/

                //渲染数据
                $("#grid").renderValues(data, {
                    getHref: function (item, value) {
                        $(item).attr("href", $(item).data("href") + value);
                        $(item).attr("index", i++);
                        $(item).attr("page", 1);

                    },
                    getUrl: function (item, value) {
                        /*$(item).attr("data-lazy-url", value)*/
                        $(item).attr("style", "background-image: url(" + value + ")")
                    }
                });

                /*// 获取总页数
                pages = data.pages;*/
            });
            /*// 每次查询加一页
            currentPage = currentPage + 1;*/
            //}

            // 调用方法 默认查询第一页
            //query();
            /*//给window绑定事件
            $(window).scroll(function () {
                if ($(window).height() + $(document).scrollTop()+1 >= $(document).height()) {
                    //console.log("进行分页....");
                    // 判断是否到最后一页 / 如果大于最后一页就不发送请求了
                    if (currentPage <= pages) {
                        query();
                    } else {
                        // 已经到最后了就提示用户已经到底了(引入插件)
                        $(document).dialog({
                            type: "notice",  // 好像是设置样式
                            content: "<span class='info-text'>没有更多了!</span>", // 显示的文字
                            autoClose: 1000 // 多久后关闭
                        })
                    }
                }
            });*/


            //人气推荐
            $.get("/scenics/hot", {state: 1}, function (data) {
                var i = 0;
                $(".custom").renderValues({list: data}, {
                    getHref: function (item, value) {
                        $(item).attr("href", $(item).data("href") + value);
                        $(item).attr("index", i++);
                    },
                    getUrl: function (item, value) {
                        $(item).attr("style", "background-image: url(" + value + ")")
                    }
                })
            });

            /*//获取全部攻略(分页)
            var currentPage = 2;
            var pages = 2;
            function query() {
                if (regionId) {
                    //获取json数据
                    $.get('/regions/' + regionId + '/strategies',{currentPage: currentPage}, function (data) {
                        $.each(data.list, function (index, ele) {
                            //克隆
                            var div = $("#template .mb").clone(true);
                            //设置a连接地址
                            div.find("a").attr('href', '/strategyCatalogs.html?id=' + ele.id);
                            div.find("img").attr('src', ele.coverUrl);
                            div.find("span").html(ele.title);
                            $(".classify").append(div);
                        });
                        pages = data.pages;
                    }, "json")
                    currentPage = currentPage + 1;
                }
            }*/
        })
    </script>

</head>
<body>
<script type="text/javascript" src="js/public-1.7.min.js "></script>
<script async defer type="text/javascript" src="js/tingyun-rum.js"></script>
<script type="text/javascript" src="js/statisticsutil-3.12.min.js"></script>

<div id="container"></div>
<div id="cityPicker"></div>
<div id="tpl" class="home-page pdt18 dbCMT50">
    <div class="ticket-header search-header headFixed">
        <div class="search">
            <a href="/seek.html">
                <input type="text" readonly="readonly" disabled="disabled" placeholder="景点名称/城市/主题">
            </a>
        </div>
    </div>

    <div class="banner">
        <div id='mySwipe' class='swipe'>
            <div class="swipe-wrap guangg">
                <div class="swiper-slide">
                    <a href="/piao.html?id=2" lv-on="click:cmBanner($event)" ztName="丽江木府" index="0">
                        <img src="picture/1543223987_12490.jpg" alt=""/><!--1543484294_71002.jpg-->
                    </a>
                </div>
                <div class="swiper-slide">
                    <a href="/piao.html?id=5" lv-on="click:cmBanner($event)" ztName="三亚康大游艇" index="1">
                        <img src="picture/1545042677_99546.jpg" alt=""/>
                    </a>
                </div>
                <div class="swiper-slide">
                    <a href="/piao.html?id=4" lv-on="click:cmBanner($event)" ztName="广州塔" index="2">
                        <img src="picture/1544161696_64330.jpg" alt=""/>
                    </a>
                </div>
                <div class="swiper-slide">
                    <a href="/piao.html?id=3" lv-on="click:cmBanner($event)" ztName="上海金茂大厦88层观光厅" index="3">
                        <img src="picture/1543202577_28245.jpg" alt=""/>
                    </a>
                </div>
                <div class="swiper-slide">
                    <a href="/piao.html?id=6" lv-on="click:cmBanner($event)" ztName="渔阳滑雪场" index="4">
                        <img src="picture/1544169559_99189.jpg" alt=""/>
                    </a>
                </div>
                <div class="swiper-slide">
                    <a href="/piao.html?id=7" lv-on="click:cmBanner($event)" ztName="北京欢乐谷灯光节" index="5">
                        <img src="picture/1543565848_48119.jpg" alt=""/>
                    </a>
                </div>
                <!--<div class="swiper-slide">
                    <a href="//m.lvmama.com/ticket/piao-183630" lv-on="click:cmBanner($event)" ztName="珠海长隆海洋王国" index="1">
                        <img src="picture/1544064098_19554.jpg" alt=""/>
                    </a>
                </div>-->

            </div>
            <div class="bannerPagination pagination"></div>
        </div>
    </div>

    <div class="hotProduct">
        <div class="hotTitle">
            <span>人气推荐</span>
        </div>
        <div class="custom">
            <div class="prd-list">
                <div class="huadong" render-loop="list">

                    <a class="cmAddClick" lv-on="click:cmHotProduct($event)" data-href="/piao.html?id="
                       render-key="list.id" render-fun="getHref">
                        <div class="img-wrap">
                            <!--<div class="prd-pic" style="background-image: url(images/cf2d5550-1891-4ed0-99a2-64fb3623ea3d_480_320.jpg)"></div>-->
                            <div class="prd-pic" render-key="list.coverUrl" render-fun="getUrl"></div>
                            <div class="price">今日订</div>
                        </div>
                        <div class="prd-info">
                            <p render-html="list.name"></p>
                            <div class="prd-pri">
                                <span>&yen;<i render-html="list.ticket.price"></i><i>起</i></span>
                                <!--<span>&yen;<i render-key="list.tickets" render-fun="getHtml"></i><i>起</i></span>-->
                            </div>
                        </div>
                    </a>

                </div>
            </div>
        </div>
    </div>

    <!--<div class="themeImg">
        <a href="https://zt1.lvmama.com/template4/index/4407?losc&#x3D;326832&amp;ict&#x3D;1" name="双旦大促" lv-on="click:cmThemeImg($event)">
            <img src="picture/1544752777_23374.jpg"/>
        </a>
    </div>-->


    <div class="viewspot-recommend">
        <div class="title">
            <p>热门景点</p>
        </div>
        <div class="list" id="grid">
            <div class="lvAddBgcolor" render-loop="list">
                <a lv-on="click:cmRecommend($event)" data-href="/piao.html?id=" render-key="list.id"
                   render-fun="getHref">
                    <div class="recommend-module">
                        <div class="recommend-pic lazyLoad" render-key="list.coverUrl" render-fun="getUrl">
                            <div class='todaybook-sign'></div>
                        </div>
                        <div class="msg">
                            <p class="name" render-html="list.name"></p>
                            <div class="mark">
                                <span class="hui">优惠</span>
                            </div>
                            <div class="tips bt2 width39">
                                <span render-html="list.place.name"></span>
                            </div>
                            <div class="price">
                                <span>&yen;<i render-html="list.ticket.price"></i><i>起</i></span>
                            </div>
                        </div>
                    </div>
                </a>
            </div>

            <!--<div class="lvAddBgcolor">
                <a lv-on="click:cmRecommend($event)" index="2" page="1" name="白云山风景名胜区"
                   href="//m.lvmama.com/ticket/piao-559269">
                    <div class="recommend-module">
                        <div class="recommend-pic lazyLoad"
                             data-lazy-url="https://pics.lvjs.com.cn/pics//uploads/pc/place2/2015-07-06/c8b05551-af1d-41b3-88eb-3520d07b945c_480_320.jpg">
                            <div class='todaybook-sign'></div>
                        </div>
                        <div class="msg">
                            <p class="name">白云山风景名胜区</p>
                            <div class="mark">
                                <span class="hui">优惠</span>
                            </div>
                            <div class="notes pdt3">
                                <span>99.0%满意</span>
                            </div>
                            <div class="tips bt2 width39">
                                <span>广州 白云区 5A景区</span>
                            </div>
                            <div class="price">
                                <span>&yen;<i>4.8</i><i>起</i></span>
                            </div>
                        </div>
                    </div>
                </a>
            </div>-->

        </div>

    </div>

</div>

<script>
    /**
     * 页面需要用的变量
     */
    var currentPage = '',
        isLastPage = 'false',
        stationCode = 'GD',
        stationId = '22',
        stationName = '广东',
        stationPinyin = 'guangdong',
        fromDestId = '322';
</script>
<script>
    //在华为生活app中 隐藏下载banner
    if (window.lives != null && window.lives.getAccessToken != null) {
        sessionStorage.setItem('dClose', true);
    }
</script>
<script type="text/javascript" src="js/jspring-1.0.3.min.js"></script>
<script src="js/build.min.js"></script>
<script src="js/build.min_1.js"></script>
<script src="js/build.min_2.js"></script>
<script src="js/code.min.js"></script>
<script src="js/build.min_3.js"></script>
<script src="js/build.min_4.js"></script>
<script type="text/javascript" src="js/build.min_5.js"></script>
<script>
    if (window.lives != null && window.lives.getAccessToken != null) {
        lvHeader.hide();//华为生活app 设置公共头部插件
        document.getElementById('tpl').style.paddingTop = '.9rem';
        document.getElementsByClassName('search-header')[0].style.top = 0;
        document.title = '景点门票';
    } else {
        lvHeader.setTitle("景点门票").setRight(["", ""]);//设置公共头部插件
    }
</script>

<script type="text/javascript" src="js/tickethome.js"></script>
</body>
</html>
